package com.wang.music.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 用来接受配置文件
 */
@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioPropertites {

    private String url;

    private String accessKey;

    private String secretKey;

    private String bucket;

}
